package com.fiap.activities;

import android.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import com.fiap.model.Estatistica;
import com.fiap.service.Corrida;
import com.fiap.service.GPSService;
import com.google.android.gms.maps.model.LatLng;
import com.google.android.gms.maps.model.Marker;

public class GoogleMap extends Fragment {
  // ===========================================================
  // Definition of the INTENT variables
  // ===========================================================
  public static final String EXTRA_POSICAO_USUARIO =
		  "com.fiap.EXTRA_POSICAO_USUARIO";

  public static final String ACAO_EXIBIR_SAUDACAO =
		  "helloandroid.ACAO_EXIBIR_SAUDACAO";
  
  public static final String CATEGORIA_SAUDACAO =
		  "helloandroid.CATEGORIA_SAUDACAO";
  
  //===========================================================
  // Singleton classes
  // ===========================================================
  static LatLng gpsUserPosition; 
  private GoogleMap map;
  private Corrida corrida;
  private Estatistica estatistica;
  private GPSService gpsService;
  
//===========================================================
  // Definition of the class variables
  // ===========================================================
  private Marker actualMarker;
  private TextView txtSpeed;
  private TextView txtDistance;

  
  @Override
  public View onCreateView(LayoutInflater inflater, ViewGroup container,
      Bundle savedInstanceState) {
    View view = inflater.inflate(R.layout.google_map1,
        container, false);
    return view;
  }

} 